package com.yjyw.tiexie.bean;

import java.util.List;

public class ZkBean {

    /**
     * success : true
     * message : 操作成功！
     * code : 0
     * result : [{"value":"A0001","text":"关节","title":"关节"},{"value":"A0002","text":"脊柱","title":"脊柱"},{"value":"A0003","text":"创伤","title":"创伤"},{"value":"A0004","text":"手外","title":"手外"}]
     * ext : null
     * timestamp : 1622189449098
     */

    private boolean success;
    private String message;
    private int code;
    private Object ext;
    private long timestamp;
    /**
     * value : A0001
     * text : 关节
     * title : 关节
     */

    private List<ResultBean> result;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Object getExt() {
        return ext;
    }

    public void setExt(Object ext) {
        this.ext = ext;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> result) {
        this.result = result;
    }

    public static class ResultBean {
        private String value;
        private String text;
        private String title;
        private boolean isSelected;

        public boolean isSelected() {
            return isSelected;
        }

        public void setSelected(boolean selected) {
            isSelected = selected;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getText() {
            return text;
        }

        public void setText(String text) {
            this.text = text;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }
}
